package com.core;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.BlockingDeque;
import java.util.concurrent.LinkedBlockingDeque;

public class Core {
	
	public static void main(String[] args) {
		
		BlockingDeque<String> list = new LinkedBlockingDeque<>();
		Map<String, PortGuidance> map = new HashMap<>();
		
		//建立内部类太长了，还是拆开吧...
		new Read(list).start();
		new HandleData(list, map).start();
		new Print(map).start();
		
	}
}